home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970104-19970326 / 000267_news@columbia.edu _Mon Feb 17 10:34:20 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA09076
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 17 Feb 1997 10:34:20 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA11578
  7.     for kermit.misc@watsun; Mon, 17 Feb 1997 10:34:19 -0500 (EST)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Linux compile error
  12. Date: 17 Feb 1997 15:34:17 GMT
  13. Organization: Columbia University
  14. Lines: 47
  15. Message-ID: <5e9tpp$bis$1@apakabar.cc.columbia.edu>
  16. References: <slrn5gbq1d.1pa.rpotter@rpotter.cgocable.net>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:6606
  19.  
  20. In article <slrn5gbq1d.1pa.rpotter@rpotter.cgocable.net>,
  21. Richard Potter <rpotter@cgocable.net> wrote:
  22. : Call me stupid, but I can't get going here. I'm running the latest, and
  23. : greatest Red Hat 4.1 release. I've read the comments in the linux section of
  24. : the makefile, but no luck.
  25. : make linux
  26. : gives the following error:
  27. : gcc -o wart ckwart.o -lcurses -ltermcap
  28. : ld: cannot open -lcurses: No such file or directory
  29. : make [1]: *** [wart] Error 1
  30. : make [1]: Leaving directory `/tmp'
  31. : make : *** [linux] Error 2
  32. : Please help.
  33. There is much confusion amongst Linux versions about whether curses, ncurses,
  34. or both are installed, and which the default should be, and what it should be
  35. called.  I asked Linus how he thought this problem should be addressed.  He
  36. said all Linux systems should have ncurses installed, instead of curses, but
  37. for compatibility with all the other UNIX versions in the world, there should
  38. be symlinks from from the curses.* to ncurses.*.  In other words, applications
  39. should be able to refer to it as curses, not ncurses.
  40.  
  41. In the "table of contents" of the makefile, it says:
  42.  
  43. # + for Linux, "make linux" or (to remove TCP/IP) "make linuxnotcp".
  44. #     For static linking, use "make linuxs".  IMPORTANT: Read the comments
  45. #     that accompany the "linux:" entry.
  46.  
  47. Then when you actually run "make linux", it prints this on your screen:
  48.  
  49.   Making C-Kermit $(CKVER) for Linux...
  50.   IMPORTANT: Read the comments in the linux section of the
  51.   makefile if you get compilation or link errors.
  52.  
  53. Among the many comments that accompany the Linux entry you will find:
  54.  
  55. # -DCK_CURSES: Here we link with the regular curses library.  But you should
  56. # be using ncurses.  Internally, the ckuusx.c module includes <curses.h>, but
  57. # this really should be <ncurses.h>.  Thus if you have the new curses
  58. # material, you should either install it with the standard names, or else
  59. # create symbolic links from the standard names to the new ones.
  60.  
  61. - Frank